package com.itheima.api.sms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.domain.TableDataInfo;
import com.itheima.vo.dto.SmsFlashPromotionProductRelationDto;
import com.itheima.vo.pojo.SmsFlashPromotionProductRelation;

import java.util.List;

public interface SmsFlashPromotionProductRelationService extends IService<SmsFlashPromotionProductRelation> {

    //获取到商品的数量
    long getCount(Long flashPromotionId, Long flashPromotionSessionId);

    //分页查询相关商品及限时购促销信息
    TableDataInfo listAll(Integer pageNum, Integer pageSize, Long flashPromotionId, Long flashPromotionSessionId);
}
